<template>
  <div class="btn-fun-component">
    <div v-for="item in modelValue" :key="item">
      <el-button :type="item.type">
        <i
          style="font-weight: bold; margin-right: 4px; font-size: 18px"
          v-if="item.icon"
          class="iconfont"
          :class="item.icon"
        ></i>
        <span>{{ item.label }}</span>
      </el-button>
    </div>
  </div>
</template>
<script  setup lang='ts'>
const props = defineProps(["modelValue"]);

console.log("props: ", props);
</script >
  <style lang='scss' scoped>
</style>
